package cn.tedu.store.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

//get\set 方法注解生成
@Data
public class Repair {
    //申请单号
    private String repairApplyId;
    //申请科室
    private String repairApplyDept;
    //申请人员
    private String repairApplyOperator;
    //申请类别
    private String repairApplyType;
    //申请详情
    private String repairApplyDetail;
    //申请时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date repairApplyDate;
    //申请状态
    private String repairState;
    //维修评价
    private String repairEvaluate;
    //状态
    private String state;
    //意见
    private String suggestion;
    //申请人电话
    private String repairApplyPhone;
    //维修接单时间
    private Date repairAcceptDate;
    //维修完成时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date repairFinishedDate;
    //维修加急程度
    private String repairUrgentState;
    //维修人员
    private  String repairOperator;
    //作废维修单时间
    private Date cancelDate;
    //开启评价
    private String appraise;
    //进度
    private String progress;
    //崔单
    @TableField("REPAIRAPPLAPPLYSTATE")
    private String repairApplyState;
    //投诉信息
    @TableField("REPAIRAPPLYCOMPLAINTS")
    private String repairApplyComplaints;
    //领导
    private String repairLeadership;
    //领导科室
    private String repairLeadershipDept;

    //状态
    private String hmzb;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date repairApplyEndDate;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date repairEndDate;

    private String repairRemind;

    private String repairUrgent;

    private String repairName;

    private Integer repairTime;

    private String repairPhone;
}
